package com.rd.server.modules.room.model;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName RoomPO
 * @Description 房间实体类
 * @Author zyy
 * @Date 2025/6/6 22:11
 * @Version 1.0
 **/
@Data
@Table("t_rooms")
public class RoomPO {

    /**
     * 房间唯一标识符
     */
    @Id(keyType = KeyType.Generator, value = KeyGenerators.snowFlakeId)
    private String id;
    /**
     * 房间号码/显示代码
     */
    private String roomNumber;
    /**
     * 房间茶水费
     */
    private BigDecimal serviceFee;
    /**
     * 房间结算状态
     * 0：未结算
     * 1：已结算
     */
    private Integer status;
    /**
     * 房间创建时间
     */
    private Date createdAt;
    /**
     * 创建人昵称
     */
    private String createdBy;
    /**
     * 创建人Id
     */
    private String createdId;
}
